﻿using System;

namespace dk.Helper.Base
{
    public interface IAttacks
    {
        /// <summary>
        /// Gets the count.
        /// </summary>
        int Count { get; }

        /// <summary>
        /// Adds the specified attack.
        /// </summary>
        /// <param name="attack">The attack.</param>
        void Add(IAttack attack);

        /// <summary>
        /// Removes the specified attack.
        /// </summary>
        /// <param name="attack">The attack.</param>
        void Remove(IAttack attack);

        /// <summary>
        /// Occurs when [changed].
        /// </summary>
        event EventHandler Changed;
    }
}